<template>
	<view>
		<view class="H5-ShiFou-WeiXin" v-if="H5_ShiFou_WeiXin_Nei">
			<view>请点击右上角 ... 在浏览器打开</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"YouRan-UI-WeiXinNei-TiShi",
		data() {
			return {
				H5_ShiFou_WeiXin_Nei:false,
			};
		},
		mounted(){
			let ua = navigator.userAgent.toLowerCase();
			let isWeixin = ua.indexOf('micromessenger') != -1;
			if (isWeixin) {
				this.H5_ShiFou_WeiXin_Nei = true;
			}
		}
	}
</script>

<style lang="scss" scoped>
.H5-ShiFou-WeiXin{
	width: 100%;
	height: 100vh;
	background: #000;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1500;
	display: flex;
	align-items: center;
	justify-content: center;
	view{
		color: #FFF;
		font-size: 35rpx;
		line-height: 35rpx;
	}
}
</style>